<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"><title>Hotaru Hikari's Blog</title><meta name="author" content="螢の光"><meta name="copyright" content="螢の光"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="游戏开发者成长日志">
<meta property="og:type" content="website">
<meta property="og:title" content="Hotaru Hikari&#39;s Blog">
<meta property="og:url" content="https://hotarunohikari.gitee.io/hotaru-no-hikari/index.html">
<meta property="og:site_name" content="Hotaru Hikari&#39;s Blog">
<meta property="og:description" content="游戏开发者成长日志">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://hotarunohikari.gitee.io/hotaru-no-hikari/img/avatar.jpg">
<meta property="article:author" content="螢の光">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://hotarunohikari.gitee.io/hotaru-no-hikari/img/avatar.jpg"><link rel="shortcut icon" href="/hotaru-no-hikari/img/avatar.jpg"><link rel="canonical" href="https://hotarunohikari.gitee.io/hotaru-no-hikari/"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/hotaru-no-hikari/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/css/all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = { 
  root: '/hotaru-no-hikari/',
  algolia: undefined,
  localSearch: undefined,
  translate: undefined,
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '',
  date_suffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: undefined,
  lightbox: 'fancybox',
  Snackbar: undefined,
  source: {
    justifiedGallery: {
      js: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery@2/dist/fjGallery.min.js',
      css: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery@2/dist/fjGallery.min.css'
    }
  },
  isPhotoFigcaption: false,
  islazyload: false,
  isAnchor: false
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
  title: 'Hotaru Hikari\'s Blog',
  isPost: false,
  isHome: true,
  isHighlightShrink: false,
  isToc: false,
  postUpdate: '2022-06-08 19:20:46'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(win=>{
    win.saveToLocal = {
      set: function setWithExpiry(key, value, ttl) {
        if (ttl === 0) return
        const now = new Date()
        const expiryDay = ttl * 86400000
        const item = {
          value: value,
          expiry: now.getTime() + expiryDay,
        }
        localStorage.setItem(key, JSON.stringify(item))
      },

      get: function getWithExpiry(key) {
        const itemStr = localStorage.getItem(key)

        if (!itemStr) {
          return undefined
        }
        const item = JSON.parse(itemStr)
        const now = new Date()

        if (now.getTime() > item.expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return item.value
      }
    }
  
    win.getScript = url => new Promise((resolve, reject) => {
      const script = document.createElement('script')
      script.src = url
      script.async = true
      script.onerror = reject
      script.onload = script.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        script.onload = script.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(script)
    })
  
      win.activateDarkMode = function () {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      win.activateLightMode = function () {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
        }
      }
      const t = saveToLocal.get('theme')
    
          if (t === 'dark') activateDarkMode()
          else if (t === 'light') activateLightMode()
        
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        if (asideStatus === 'hide') {
          document.documentElement.classList.add('hide-aside')
        } else {
          document.documentElement.classList.remove('hide-aside')
        }
      }
    
    const detectApple = () => {
      if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
        document.documentElement.classList.add('apple')
      }
    }
    detectApple()
    })(window)</script><link rel="stylesheet" href="/css/style.css"><link rel="stylesheet" href="/css/remixicon.css"><meta name="generator" content="Hexo 6.2.0"></head><body><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src="/hotaru-no-hikari/img/avatar.jpg" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="sidebar-site-data site-data is-center"><a href="/hotaru-no-hikari/archives/"><div class="headline">文章</div><div class="length-num">9</div></a><a href="/hotaru-no-hikari/tags/"><div class="headline">标签</div><div class="length-num">9</div></a><a href="/hotaru-no-hikari/categories/"><div class="headline">分类</div><div class="length-num">13</div></a></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/hotaru-no-hikari/"><i class="fa-fw ri-home-wifi-line"></i><span> 主页</span></a></div><div class="menus_item"><a class="site-page" href="/hotaru-no-hikari/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></div><div class="menus_item"><a class="site-page" href="/hotaru-no-hikari/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/hotaru-no-hikari/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/hotaru-no-hikari/bangumis/"><i class="fa-fw fas fa-folder-open"></i><span> 追番</span></a></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fas fa-list"></i><span> 链接</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/hotaru-no-hikari/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></li><li><a class="site-page child" href="/hotaru-no-hikari/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></li></ul></div></div></div></div><div class="page" id="body-wrap"><header class="full_page" id="page-header" style="background-image: url('/hotaru-no-hikari/img/cover3.jpg')"><nav id="nav"><span id="blog_name"><a id="site-name" href="/hotaru-no-hikari/">Hotaru Hikari's Blog</a></span><div id="menus"><div class="menus_items"><div class="menus_item"><a class="site-page" href="/hotaru-no-hikari/"><i class="fa-fw ri-home-wifi-line"></i><span> 主页</span></a></div><div class="menus_item"><a class="site-page" href="/hotaru-no-hikari/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></div><div class="menus_item"><a class="site-page" href="/hotaru-no-hikari/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/hotaru-no-hikari/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/hotaru-no-hikari/bangumis/"><i class="fa-fw fas fa-folder-open"></i><span> 追番</span></a></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fas fa-list"></i><span> 链接</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/hotaru-no-hikari/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></li><li><a class="site-page child" href="/hotaru-no-hikari/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></li></ul></div></div><div id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="site-info"><h1 id="site-title">Hotaru Hikari's Blog</h1><div id="site_social_icons"><a class="social-icon" href="https://github.com/HotaruHikari" target="_blank" title="Github"><i class="ri-home-wifi-line"></i></a><a class="social-icon" href="mailto:728831102@qq.com" target="_blank" title="Email"><i class="fa-solid fa-house-laptop"></i></a></div></div><div id="scroll-down"><i class="fas fa-angle-down scroll-down-effects"></i></div></header><main class="layout" id="content-inner"><div class="recent-posts" id="recent-posts"><div class="recent-post-item"><div class="post_cover left"><a href="/hotaru-no-hikari/2021/10/20/%E5%9F%BA%E4%BA%8EHexo%E7%9A%84%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/" title="使用Hexo和Gitee搭建博客"><img class="post_bg" src="/hotaru-no-hikari/img/cover2.jpg" onerror="this.onerror=null;this.src='/hotaru-no-hikari/img/404.jpg'" alt="使用Hexo和Gitee搭建博客"></a></div><div class="recent-post-info"><a class="article-title" href="/hotaru-no-hikari/2021/10/20/%E5%9F%BA%E4%BA%8EHexo%E7%9A%84%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/" title="使用Hexo和Gitee搭建博客">使用Hexo和Gitee搭建博客</a><div class="article-meta-wrap"><span class="article-meta"><i class="fas fa-thumbtack sticky"></i><span class="sticky">置顶</span><span class="article-meta-separator">|</span></span><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2021-10-20T15:30:09.000Z" title="发表于 2021-10-20 23:30:09">2021-10-20</time></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/hotaru-no-hikari/tags/%E5%8D%9A%E5%AE%A2/">博客</a></span></div><div class="content">:::info前言：本文主要记录搭建博客的过程中所遇到的一些问题和解决方法。:::
使用Hexo和Gitee进行博客搭建关于搭建网上已经有很详细的教程，这里就不多说了，照着做基本不会出太大的问题。

网页教程B站视频教程

Shoka主题的使用官方连接

在文章的Front Matter设置sticky: true，则该文章将显示在首页最上方的置顶文章列。多篇文章按照发布时间倒序排列，不分页。

1234---title: 置顶文章sticky: true---


如果想要修改主题的&lt;root&gt;/themes/shoka/source/images/目录内的某张图片，请在&lt;root&gt;/source/_data/目录新建目录images，并在这个文件夹中添加++同名++文件，部署时将自动覆盖主题内的默认图片。

可以用此方法自定义头像、打赏二维码等图片，并且避免覆盖更新主题时遗失自定义文件。

相关界面设置

可能遇到的坑报错
非ERROR报错可以忽略。

12npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fse ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/hotaru-no-hikari/2022/06/07/hello-world/" title="Hello World"><img class="post_bg" src="/hotaru-no-hikari/img/cover2.jpg" onerror="this.onerror=null;this.src='/hotaru-no-hikari/img/404.jpg'" alt="Hello World"></a></div><div class="recent-post-info"><a class="article-title" href="/hotaru-no-hikari/2022/06/07/hello-world/" title="Hello World">Hello World</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2022-06-07T10:58:52.802Z" title="发表于 2022-06-07 18:58:52">2022-06-07</time></span></div><div class="content">Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick StartCreate a new post1$ hexo new &quot;My New Post&quot;

More info: Writing
Run server1$ hexo server

More info: Server
Generate static files1$ hexo generate

More info: Generating
Deploy to remote sites1$ hexo deploy

More info: Deployment
</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/hotaru-no-hikari/2021/10/30/%E7%A7%8B%E6%8B%9B%E6%80%BB%E7%BB%93/" title="简单的秋招总结"><img class="post_bg" src="/hotaru-no-hikari/img/cover2.jpg" onerror="this.onerror=null;this.src='/hotaru-no-hikari/img/404.jpg'" alt="简单的秋招总结"></a></div><div class="recent-post-info"><a class="article-title" href="/hotaru-no-hikari/2021/10/30/%E7%A7%8B%E6%8B%9B%E6%80%BB%E7%BB%93/" title="简单的秋招总结">简单的秋招总结</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2021-10-30T03:45:48.000Z" title="发表于 2021-10-30 11:45:48">2021-10-30</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/hotaru-no-hikari/categories/%E6%9D%82%E8%B0%88/">杂谈</a><i class="fas fa-angle-right article-meta-link"></i><a class="article-meta__categories" href="/hotaru-no-hikari/categories/%E6%9D%82%E8%B0%88/%E6%97%A5%E5%BF%97/">日志</a><i class="fas fa-angle-right article-meta-link"></i><a class="article-meta__categories" href="/hotaru-no-hikari/categories/%E6%9D%82%E8%B0%88/%E6%97%A5%E5%BF%97/%E7%A7%8B%E6%8B%9B%E6%80%BB%E7%BB%93/">秋招总结</a></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/hotaru-no-hikari/tags/%E6%9D%82%E8%B0%88/">杂谈</a><span class="article-meta-link">•</span><a class="article-meta__tags" href="/hotaru-no-hikari/tags/%E6%80%BB%E7%BB%93/">总结</a></span></div><div class="content">关于我转职变成游戏开发者这档事普通一本，非985、211，自动化专业。大学期间安排在学习上的时间并不算多，大一、大二基本除开课程学习、社团活动、实验室项目之外的时间都花在了玩游戏和看番上面了。作为一个索系、任系的主机玩家，以前的我对国产游戏是完全不感兴趣的，对于在国内做游戏也完全提不起兴趣。但步入大学之后，国产独立游戏的爆发、各类游戏的变化使我的想法渐渐发生了改变。疫情的到来，使我有大量的时间待在家中，在此期间发生了一些事情使我下定决心走向游戏开发的道路。

笔试
好比是新手村的少年到最终迷宫前生活一般的故事

本人的秋招笔试经历突出一个字——惨！！！基本总结如下：笔试是校招的同学会遇到的第一个门槛，大厂与小厂的差别很大。大厂整体上更注重基础，C、C++、Java、操作系统、计算机网络、数据库、数据结构算法等八股文，同时概率论、线性代数相关的题也很容易出现。大厂的题目基本不考察Unity、C#相关的知识，这对于非计算机专业学游戏开发的同学来说是十分蛋疼的。小厂的难度因公司不同，差距很大，某种程度上比大厂的题还要困难，有些公司的问题感觉像在社招。但总体来说考察内容围绕C#、Unity、逻 ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/hotaru-no-hikari/2021/10/28/%E4%BD%BF%E7%94%A8await%E3%80%81aysnc/" title="在Unity中使用async和await"><img class="post_bg" src="/hotaru-no-hikari/img/cover2.jpg" onerror="this.onerror=null;this.src='/hotaru-no-hikari/img/404.jpg'" alt="在Unity中使用async和await"></a></div><div class="recent-post-info"><a class="article-title" href="/hotaru-no-hikari/2021/10/28/%E4%BD%BF%E7%94%A8await%E3%80%81aysnc/" title="在Unity中使用async和await">在Unity中使用async和await</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2021-10-28T08:31:50.000Z" title="发表于 2021-10-28 16:31:50">2021-10-28</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/hotaru-no-hikari/categories/%E6%B8%B8%E6%88%8F%E5%BC%80%E5%8F%91/">游戏开发</a><i class="fas fa-angle-right article-meta-link"></i><a class="article-meta__categories" href="/hotaru-no-hikari/categories/%E6%B8%B8%E6%88%8F%E5%BC%80%E5%8F%91/Unity/">Unity</a></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/hotaru-no-hikari/tags/Unity/">Unity</a><span class="article-meta-link">•</span><a class="article-meta__tags" href="/hotaru-no-hikari/tags/C/">C#</a></span></div><div class="content">:::info前言：记录async和await的基本用法，如何去替代协程。:::
使用async、await代替Coroutine示例一首先通过一个延时的例子来了解其基本用法。
12345678910111213141516//使用await的延时写法async Task delayTime2()&#123;    Debug.Log(&quot;Async start&quot;);    //await Task.Delay(2000); //2000ms    await Task.Delay(TimeSpan.FromSeconds(2f));    Debug.Log(&quot;Async end&quot;);&#125;//使用协程的延时写法IEnumerator delayTime1()&#123;    Debug.Log(&quot;Coroutine start&quot;);    yield return new WaitForSeconds(2.0f);    Debug.Log(&quot;Coroutine end&quot;);&#125;

##示 ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/hotaru-no-hikari/2021/10/27/%E5%9C%A8Unity%E4%B8%AD%E4%BD%BF%E7%94%A8System.Drawing%E7%94%9F%E6%88%90%E9%AA%8C%E8%AF%81%E7%A0%81/" title="在Unity中使用Bitmap生成验证码图片"><img class="post_bg" src="/hotaru-no-hikari/img/cover2.jpg" onerror="this.onerror=null;this.src='/hotaru-no-hikari/img/404.jpg'" alt="在Unity中使用Bitmap生成验证码图片"></a></div><div class="recent-post-info"><a class="article-title" href="/hotaru-no-hikari/2021/10/27/%E5%9C%A8Unity%E4%B8%AD%E4%BD%BF%E7%94%A8System.Drawing%E7%94%9F%E6%88%90%E9%AA%8C%E8%AF%81%E7%A0%81/" title="在Unity中使用Bitmap生成验证码图片">在Unity中使用Bitmap生成验证码图片</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2021-10-27T05:50:09.000Z" title="发表于 2021-10-27 13:50:09">2021-10-27</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/hotaru-no-hikari/categories/%E6%B8%B8%E6%88%8F%E5%BC%80%E5%8F%91/">游戏开发</a><i class="fas fa-angle-right article-meta-link"></i><a class="article-meta__categories" href="/hotaru-no-hikari/categories/%E6%B8%B8%E6%88%8F%E5%BC%80%E5%8F%91/Unity/">Unity</a><i class="fas fa-angle-right article-meta-link"></i><a class="article-meta__categories" href="/hotaru-no-hikari/categories/%E6%B8%B8%E6%88%8F%E5%BC%80%E5%8F%91/Unity/%E5%9B%BE%E7%89%87/">图片</a></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/hotaru-no-hikari/tags/Unity/">Unity</a></span></div><div class="content">:::info前言：本文主要记录在Unity中使用.NET类库System.Drawing进行验证码图像的绘制与在此过程中遇到的问题。:::
使用System.Drawing的相关问题直接导入DLL导入下载好的System.Drawing.dll后，出现了引用具有相同的完全限定类型名称的程序集的两个版本的情况，查阅相关资料后发现要使用外部命名，但还是不太能解决问题。

外部别名资料链接          

原因与解决.NET类库System.Drawing提供了一系列的图形函数，但由于其使用的是GDI接口，与DirectX和OpenGL之间不兼容，在Unity中默认是不被支持的。但有时候，我们想在Unity中使用一些基于System.Drawing编写的类，而运行平台仅限于PC，这个时候我们可以通过两个步骤将System.Drawing引入Unity项目中：

在Unity的安装路径中找到System.Drawing.dll，将其复制到我们的项目文件夹下。System.Drawing.dll的具体位置：%Unity根目录%\Editor\Data\Mono\lib\mono\2.0\ ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/hotaru-no-hikari/2021/10/25/%E7%A0%B4%E6%99%93%E4%BC%A0%E8%AF%B4%E9%80%9A%E5%85%B3%E6%84%9F%E6%83%B3/" title="破晓传说通关感想"><img class="post_bg" src="/hotaru-no-hikari/img/BG/3.jpg" onerror="this.onerror=null;this.src='/hotaru-no-hikari/img/404.jpg'" alt="破晓传说通关感想"></a></div><div class="recent-post-info"><a class="article-title" href="/hotaru-no-hikari/2021/10/25/%E7%A0%B4%E6%99%93%E4%BC%A0%E8%AF%B4%E9%80%9A%E5%85%B3%E6%84%9F%E6%83%B3/" title="破晓传说通关感想">破晓传说通关感想</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2021-10-25T12:45:48.000Z" title="发表于 2021-10-25 20:45:48">2021-10-25</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/hotaru-no-hikari/categories/%E6%B8%B8%E6%88%8F%E7%9B%B8%E5%85%B3/">游戏相关</a><i class="fas fa-angle-right article-meta-link"></i><a class="article-meta__categories" href="/hotaru-no-hikari/categories/%E6%B8%B8%E6%88%8F%E7%9B%B8%E5%85%B3/%E6%B8%B8%E6%88%8F%E6%84%9F%E6%83%B3/">游戏感想</a><i class="fas fa-angle-right article-meta-link"></i><a class="article-meta__categories" href="/hotaru-no-hikari/categories/%E6%B8%B8%E6%88%8F%E7%9B%B8%E5%85%B3/%E6%B8%B8%E6%88%8F%E6%84%9F%E6%83%B3/%E7%A0%B4%E6%99%93%E4%BC%A0%E8%AF%B4/">破晓传说</a></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/hotaru-no-hikari/tags/%E6%B8%B8%E6%88%8F/">游戏</a></span></div><div class="content">破晓传说的成功

作为传说系列的25周年作，从宣传开始到发售经历了5年，再加上本作改用虚幻引擎，画面改变比较大，各方面的的Buff属实拉满了。
然而结果也确实出人意料，破晓传说的销量很快就破了100w，同时也刷新了steam的JRPG同时在线人数，这对于一部JRPG来说无疑是恐怖的，说他是近几年来最破圈的JRPG也不为过。其实这几年来JRPG的落寞是老玩家都能感觉到的，头部作品极少，同时还产生了极大的两极分化，这是能诞生破晓传说这样的作品还是很不错的。
破晓传说为什么能这么成功？	是因为女主太涩了（bushi。我觉得是因为，这是一款更加符合大众的JRPG。画面的进步，使其拥有了能够吸引圈外人的能力，画面和系统都是上乘水平。不错的剧情演出，战斗系统容易上手这些都是他的优点。剧情上去掉一些有问题的点，整体来说还是一部比较王道的故事。

战斗系统
前期刮痧，后面轰霸斩无敌。整体体验还不错，但我对于传说系列的战斗系统一直都不怎么习惯，这里就不多说了。

剧情优点
经典的Boy meets girl剧情，最后也是HE，让我想到了异度之刃2，算是非常王道的展开了。在现在的环境下已经很少见到官方男女 ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/hotaru-no-hikari/2021/10/24/%E5%88%9D%E6%AD%A5%E4%BA%86%E8%A7%A3%E7%BC%96%E8%BE%91%E5%99%A8%E6%8B%93%E5%B1%95/" title="初步了解编辑器拓展"><img class="post_bg" src="/hotaru-no-hikari/img/cover2.jpg" onerror="this.onerror=null;this.src='/hotaru-no-hikari/img/404.jpg'" alt="初步了解编辑器拓展"></a></div><div class="recent-post-info"><a class="article-title" href="/hotaru-no-hikari/2021/10/24/%E5%88%9D%E6%AD%A5%E4%BA%86%E8%A7%A3%E7%BC%96%E8%BE%91%E5%99%A8%E6%8B%93%E5%B1%95/" title="初步了解编辑器拓展">初步了解编辑器拓展</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2021-10-24T15:30:09.000Z" title="发表于 2021-10-24 23:30:09">2021-10-24</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/hotaru-no-hikari/categories/%E6%B8%B8%E6%88%8F%E5%BC%80%E5%8F%91/">游戏开发</a><i class="fas fa-angle-right article-meta-link"></i><a class="article-meta__categories" href="/hotaru-no-hikari/categories/%E6%B8%B8%E6%88%8F%E5%BC%80%E5%8F%91/Unity/">Unity</a><i class="fas fa-angle-right article-meta-link"></i><a class="article-meta__categories" href="/hotaru-no-hikari/categories/%E6%B8%B8%E6%88%8F%E5%BC%80%E5%8F%91/Unity/%E7%BC%96%E8%BE%91%E5%99%A8%E6%8B%93%E5%B1%95/">编辑器拓展</a></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/hotaru-no-hikari/tags/Unity/">Unity</a><span class="article-meta-link">•</span><a class="article-meta__tags" href="/hotaru-no-hikari/tags/%E7%BC%96%E8%BE%91%E5%99%A8%E6%8B%93%E5%B1%95/">编辑器拓展</a></span></div><div class="content">:::info前言：记录一下初步接触编辑器拓展相关的内容。:::
拓展Project视图拓展Project将选中物体的名字打印出来，第三个参数代表排序顺序。
12345678910[MenuItem(&quot;Assets/My Tools/Tools 1&quot;, false, 2)]static void MyTools1()&#123;    Debug.Log(Selection.activeObject.name);&#125;[MenuItem(&quot;Assets/My Tools/Tools 2&quot;, false, 1)]static void MyTools2()&#123;    Debug.Log(Selection.activeObject.name);&#125;
对Create进行拓展12345678910[MenuItem(&quot;Assets/Create/My Create/Cube&quot;, false,2)]static void CreateCube()&#123;    GameObject.CreatePrimiti ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/hotaru-no-hikari/2021/10/24/OpenCVForUnity/" title="OpenCV在Unity中的简单运用"><img class="post_bg" src="/hotaru-no-hikari/img/cover2.jpg" onerror="this.onerror=null;this.src='/hotaru-no-hikari/img/404.jpg'" alt="OpenCV在Unity中的简单运用"></a></div><div class="recent-post-info"><a class="article-title" href="/hotaru-no-hikari/2021/10/24/OpenCVForUnity/" title="OpenCV在Unity中的简单运用">OpenCV在Unity中的简单运用</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2021-10-24T05:30:09.000Z" title="发表于 2021-10-24 13:30:09">2021-10-24</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/hotaru-no-hikari/categories/%E6%B8%B8%E6%88%8F%E5%BC%80%E5%8F%91/">游戏开发</a><i class="fas fa-angle-right article-meta-link"></i><a class="article-meta__categories" href="/hotaru-no-hikari/categories/%E6%B8%B8%E6%88%8F%E5%BC%80%E5%8F%91/Unity/">Unity</a><i class="fas fa-angle-right article-meta-link"></i><a class="article-meta__categories" href="/hotaru-no-hikari/categories/%E6%B8%B8%E6%88%8F%E5%BC%80%E5%8F%91/Unity/OpenCV/">OpenCV</a></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/hotaru-no-hikari/tags/OpenCV/">OpenCV</a><span class="article-meta-link">•</span><a class="article-meta__tags" href="/hotaru-no-hikari/tags/Unity/">Unity</a></span></div><div class="content">:::info前言：本文主要记录在Unity中使用OpenCV进行简单的图像处理。:::
OpenCVforUnity下载与简介OpenCV是一个基于BSD许可（开源）发行的跨平台计算机视觉和机器学习软件库,提供多种语言的接口，实现了图像处理和计算机视觉方面的很多通用算法，更多相关信息可以自行查找。首先我们需要在Unity中导入，链接如下：

OpenCVforUnity网盘连接  提取码：6api

主要知识点Mat
Mat类型可以被认为是OpenCV库的核心。 OpenCV库中绝大多数的函数都是Mat类的成员，以Mat作为参数，或者Mat作为返回值。
使用Utils工具类的texture2DToMat、matToTexture2D进行类型转换。12Utils.texture2DToMat(srcTex, mat);Utils.matToTexture2D(grayMat, hsvTex);
转换为需要的字节流。12Texture2D texture = image1.texture as Texture2D;byte[] image = texture.EncodeToPNG(); ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/hotaru-no-hikari/2021/08/13/game/" title="读书笔记"><img class="post_bg" src="/hotaru-no-hikari/img/cover2.jpg" onerror="this.onerror=null;this.src='/hotaru-no-hikari/img/404.jpg'" alt="读书笔记"></a></div><div class="recent-post-info"><a class="article-title" href="/hotaru-no-hikari/2021/08/13/game/" title="读书笔记">读书笔记</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2021-08-13T12:45:48.000Z" title="发表于 2021-08-13 20:45:48">2021-08-13</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/hotaru-no-hikari/categories/%E6%B8%B8%E6%88%8F%E5%BC%80%E5%8F%91/">游戏开发</a><i class="fas fa-angle-right article-meta-link"></i><a class="article-meta__categories" href="/hotaru-no-hikari/categories/%E6%B8%B8%E6%88%8F%E5%BC%80%E5%8F%91/%E8%AF%BB%E4%B9%A6%E7%AC%94%E8%AE%B0/">读书笔记</a><i class="fas fa-angle-right article-meta-link"></i><a class="article-meta__categories" href="/hotaru-no-hikari/categories/%E6%B8%B8%E6%88%8F%E5%BC%80%E5%8F%91/%E8%AF%BB%E4%B9%A6%E7%AC%94%E8%AE%B0/Book/">Book</a></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/hotaru-no-hikari/tags/%E4%B9%A6/">书</a></span></div><div class="content">##正文
</div></div></div><nav id="pagination"><div class="pagination"><span class="page-number current">1</span></div></nav></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="is-center"><div class="avatar-img"><img src="/hotaru-no-hikari/img/avatar.jpg" onerror="this.onerror=null;this.src='/hotaru-no-hikari/img/friend_404.gif'" alt="avatar"/></div><div class="author-info__name">螢の光</div><div class="author-info__description">游戏开发者成长日志</div></div><div class="card-info-data site-data is-center"><a href="/hotaru-no-hikari/archives/"><div class="headline">文章</div><div class="length-num">9</div></a><a href="/hotaru-no-hikari/tags/"><div class="headline">标签</div><div class="length-num">9</div></a><a href="/hotaru-no-hikari/categories/"><div class="headline">分类</div><div class="length-num">13</div></a></div><a id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/HotaruHikari"><i class="fab fa-github"></i><span>Follow Me</span></a><div class="card-info-social-icons is-center"><a class="social-icon" href="https://github.com/HotaruHikari" target="_blank" title="Github"><i class="ri-home-wifi-line"></i></a><a class="social-icon" href="mailto:728831102@qq.com" target="_blank" title="Email"><i class="fa-solid fa-house-laptop"></i></a></div></div><div class="sticky_layout"><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/hotaru-no-hikari/2022/06/07/hello-world/" title="Hello World"><img src="/hotaru-no-hikari/img/cover2.jpg" onerror="this.onerror=null;this.src='/hotaru-no-hikari/img/404.jpg'" alt="Hello World"/></a><div class="content"><a class="title" href="/hotaru-no-hikari/2022/06/07/hello-world/" title="Hello World">Hello World</a><time datetime="2022-06-07T10:58:52.802Z" title="发表于 2022-06-07 18:58:52">2022-06-07</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/hotaru-no-hikari/2021/10/30/%E7%A7%8B%E6%8B%9B%E6%80%BB%E7%BB%93/" title="简单的秋招总结"><img src="/hotaru-no-hikari/img/cover2.jpg" onerror="this.onerror=null;this.src='/hotaru-no-hikari/img/404.jpg'" alt="简单的秋招总结"/></a><div class="content"><a class="title" href="/hotaru-no-hikari/2021/10/30/%E7%A7%8B%E6%8B%9B%E6%80%BB%E7%BB%93/" title="简单的秋招总结">简单的秋招总结</a><time datetime="2021-10-30T03:45:48.000Z" title="发表于 2021-10-30 11:45:48">2021-10-30</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/hotaru-no-hikari/2021/10/28/%E4%BD%BF%E7%94%A8await%E3%80%81aysnc/" title="在Unity中使用async和await"><img src="/hotaru-no-hikari/img/cover2.jpg" onerror="this.onerror=null;this.src='/hotaru-no-hikari/img/404.jpg'" alt="在Unity中使用async和await"/></a><div class="content"><a class="title" href="/hotaru-no-hikari/2021/10/28/%E4%BD%BF%E7%94%A8await%E3%80%81aysnc/" title="在Unity中使用async和await">在Unity中使用async和await</a><time datetime="2021-10-28T08:31:50.000Z" title="发表于 2021-10-28 16:31:50">2021-10-28</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/hotaru-no-hikari/2021/10/27/%E5%9C%A8Unity%E4%B8%AD%E4%BD%BF%E7%94%A8System.Drawing%E7%94%9F%E6%88%90%E9%AA%8C%E8%AF%81%E7%A0%81/" title="在Unity中使用Bitmap生成验证码图片"><img src="/hotaru-no-hikari/img/cover2.jpg" onerror="this.onerror=null;this.src='/hotaru-no-hikari/img/404.jpg'" alt="在Unity中使用Bitmap生成验证码图片"/></a><div class="content"><a class="title" href="/hotaru-no-hikari/2021/10/27/%E5%9C%A8Unity%E4%B8%AD%E4%BD%BF%E7%94%A8System.Drawing%E7%94%9F%E6%88%90%E9%AA%8C%E8%AF%81%E7%A0%81/" title="在Unity中使用Bitmap生成验证码图片">在Unity中使用Bitmap生成验证码图片</a><time datetime="2021-10-27T05:50:09.000Z" title="发表于 2021-10-27 13:50:09">2021-10-27</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/hotaru-no-hikari/2021/10/25/%E7%A0%B4%E6%99%93%E4%BC%A0%E8%AF%B4%E9%80%9A%E5%85%B3%E6%84%9F%E6%83%B3/" title="破晓传说通关感想"><img src="/hotaru-no-hikari/img/BG/3.jpg" onerror="this.onerror=null;this.src='/hotaru-no-hikari/img/404.jpg'" alt="破晓传说通关感想"/></a><div class="content"><a class="title" href="/hotaru-no-hikari/2021/10/25/%E7%A0%B4%E6%99%93%E4%BC%A0%E8%AF%B4%E9%80%9A%E5%85%B3%E6%84%9F%E6%83%B3/" title="破晓传说通关感想">破晓传说通关感想</a><time datetime="2021-10-25T12:45:48.000Z" title="发表于 2021-10-25 20:45:48">2021-10-25</time></div></div></div></div><div class="card-widget card-categories"><div class="item-headline">
            <i class="fas fa-folder-open"></i>
            <span>分类</span>
            <a class="card-more-btn" href="/hotaru-no-hikari/categories/" title="查看更多">
    <i class="fas fa-angle-right"></i></a>
            </div>
            <ul class="card-category-list" id="aside-cat-list">
            <li class="card-category-list-item "><a class="card-category-list-link" href="/hotaru-no-hikari/categories/%E6%9D%82%E8%B0%88/"><span class="card-category-list-name">杂谈</span><span class="card-category-list-count">1</span></a><ul class="card-category-list child"><li class="card-category-list-item "><a class="card-category-list-link" href="/hotaru-no-hikari/categories/%E6%9D%82%E8%B0%88/%E6%97%A5%E5%BF%97/"><span class="card-category-list-name">日志</span><span class="card-category-list-count">1</span></a><ul class="card-category-list child"><li class="card-category-list-item "><a class="card-category-list-link" href="/hotaru-no-hikari/categories/%E6%9D%82%E8%B0%88/%E6%97%A5%E5%BF%97/%E7%A7%8B%E6%8B%9B%E6%80%BB%E7%BB%93/"><span class="card-category-list-name">秋招总结</span><span class="card-category-list-count">1</span></a></li></ul></li></ul></li><li class="card-category-list-item "><a class="card-category-list-link" href="/hotaru-no-hikari/categories/%E6%B8%B8%E6%88%8F%E5%BC%80%E5%8F%91/"><span class="card-category-list-name">游戏开发</span><span class="card-category-list-count">5</span></a><ul class="card-category-list child"><li class="card-category-list-item "><a class="card-category-list-link" href="/hotaru-no-hikari/categories/%E6%B8%B8%E6%88%8F%E5%BC%80%E5%8F%91/Unity/"><span class="card-category-list-name">Unity</span><span class="card-category-list-count">4</span></a><ul class="card-category-list child"><li class="card-category-list-item "><a class="card-category-list-link" href="/hotaru-no-hikari/categories/%E6%B8%B8%E6%88%8F%E5%BC%80%E5%8F%91/Unity/OpenCV/"><span class="card-category-list-name">OpenCV</span><span class="card-category-list-count">1</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/hotaru-no-hikari/categories/%E6%B8%B8%E6%88%8F%E5%BC%80%E5%8F%91/Unity/%E5%9B%BE%E7%89%87/"><span class="card-category-list-name">图片</span><span class="card-category-list-count">1</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/hotaru-no-hikari/categories/%E6%B8%B8%E6%88%8F%E5%BC%80%E5%8F%91/Unity/%E7%BC%96%E8%BE%91%E5%99%A8%E6%8B%93%E5%B1%95/"><span class="card-category-list-name">编辑器拓展</span><span class="card-category-list-count">1</span></a></li></ul></li></ul></li>
            </ul></div><div class="card-widget card-tags"><div class="item-headline"><i class="fas fa-tags"></i><span>标签</span></div><div class="card-tag-cloud"><a href="/hotaru-no-hikari/tags/OpenCV/" style="font-size: 1.15em; color: rgb(169, 25, 62)">OpenCV</a><a href="/hotaru-no-hikari/tags/Unity/" style="font-size: 1.45em; color: rgb(114, 140, 175)">Unity</a><a href="/hotaru-no-hikari/tags/%E4%B9%A6/" style="font-size: 1.15em; color: rgb(51, 63, 128)">书</a><a href="/hotaru-no-hikari/tags/C/" style="font-size: 1.15em; color: rgb(163, 166, 73)">C#</a><a href="/hotaru-no-hikari/tags/%E7%BC%96%E8%BE%91%E5%99%A8%E6%8B%93%E5%B1%95/" style="font-size: 1.15em; color: rgb(17, 165, 160)">编辑器拓展</a><a href="/hotaru-no-hikari/tags/%E5%8D%9A%E5%AE%A2/" style="font-size: 1.15em; color: rgb(73, 58, 4)">博客</a><a href="/hotaru-no-hikari/tags/%E6%B8%B8%E6%88%8F/" style="font-size: 1.15em; color: rgb(71, 92, 163)">游戏</a><a href="/hotaru-no-hikari/tags/%E6%9D%82%E8%B0%88/" style="font-size: 1.15em; color: rgb(16, 142, 85)">杂谈</a><a href="/hotaru-no-hikari/tags/%E6%80%BB%E7%BB%93/" style="font-size: 1.15em; color: rgb(95, 115, 137)">总结</a></div></div><div class="card-widget card-archives"><div class="item-headline"><i class="fas fa-archive"></i><span>归档</span></div><ul class="card-archive-list"><li class="card-archive-list-item"><a class="card-archive-list-link" href="/hotaru-no-hikari/archives/2022/06/"><span class="card-archive-list-date">六月 2022</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/hotaru-no-hikari/archives/2021/10/"><span class="card-archive-list-date">十月 2021</span><span class="card-archive-list-count">7</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/hotaru-no-hikari/archives/2021/08/"><span class="card-archive-list-date">八月 2021</span><span class="card-archive-list-count">1</span></a></li></ul></div><div class="card-widget card-webinfo"><div class="item-headline"><i class="fas fa-chart-line"></i><span>网站资讯</span></div><div class="webinfo"><div class="webinfo-item"><div class="item-name">文章数目 :</div><div class="item-count">9</div></div><div class="webinfo-item"><div class="item-name">本站总字数 :</div><div class="item-count">9.7k</div></div><div class="webinfo-item"><div class="item-name">本站访客数 :</div><div class="item-count" id="busuanzi_value_site_uv"></div></div><div class="webinfo-item"><div class="item-name">本站总访问量 :</div><div class="item-count" id="busuanzi_value_site_pv"></div></div><div class="webinfo-item"><div class="item-name">最后更新时间 :</div><div class="item-count" id="last-push-date" data-lastPushDate="2022-06-08T11:20:46.769Z"></div></div></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="copyright">&copy;2021 - 2022 By 螢の光</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button id="go-up" type="button" title="回到顶部"><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/hotaru-no-hikari/js/utils.js"></script><script src="/hotaru-no-hikari/js/main.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.umd.js"></script><div class="js-pjax"></div><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div></body></html>